<div class="config-container config-job-settings">
<h3>Job Settings</h3>
<%= render :partial => "admin/shared/global_errors.html", :locals => {:scope => {}} -%>
<%= form_for @job,
                :as => :job,
                :url => admin_job_update_path(:current_tab => "settings"),
                :html => {:method => :put,
                          :id => "job_edit_form",
                          :onsubmit => "return AjaxForm.jquery_ajax_submit(this, AjaxForm.ConfigFormEditHandler);",
                          :class => "popup_form"} do |f| %>
    <%= md5_field %>
    <%= hidden_field_tag :pipeline_digest, @pipeline_digest %>
    <%= hidden_field_tag :pipeline_group_name, @pipeline_group_name %>
    <%= hidden_field_tag :pipeline_name, @pipeline.name %>
    <%= render :partial => "job_basic_settings.html", :locals => {:scope => {:job => @job, :form => f, :cruise_config => @cruise_config}} -%>
    <%= render :partial => "admin/shared/form_submit", :locals => {:scope => {:reset_url => admin_job_edit_path(:pipeline_name => @pipeline.name(), :stage_name => params[:stage_name], :job_name => params[:job_name], :current_tab => "settings")}} unless @is_config_repo_pipeline %>
<% end %>
  </div>
<script type="text/javascript">
   AjaxForm.error_box_selector = '#form_parent';
</script>
